]> dgit.raspbian.org Git - ostree.git/commit
ci: Sync Rust linting checks from bootc-dev/bootc
authorXiaofeng Wang <henrywangxf@me.com>
Tue, 31 Mar 2026 03:39:04 +0000 (11:39 +0800)
committerXiaofeng Wang <henrywangxf@me.com>
Tue, 31 Mar 2026 03:39:04 +0000 (11:39 +0800)
commitf46bb02a591d62331c3cd6b2c268080c3698b78d
treef9503baad7cc9dacd308e229ce73458960512afd
parentb4780f58b42406e3cbb88ad8be17199a8eb9d4b1
ci: Sync Rust linting checks from bootc-dev/bootc

Align with bootc's validate target:
- Make cargo clippy gating (was "non-gating") with the same lint config
  as bootc (-A clippy::all -D clippy::correctness -D clippy::suspicious
  -Dunused_imports -Ddead_code)
- Extend clippy to cover test crates (tests/inst, tests/bootc-integration,
  tests/xtask)
- Add cargo doc with -D warnings to catch rustdoc issues

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>
.github/workflows/rust.yml